import { showLoadingToast, closeToast } from 'vant'
/** 展示loading遮罩 */
export const showLoading = () => {
  showLoadingToast({
    forbidClick: true, // 背景禁止点击
    duration: 0, // 不自动消失
  })
}
/** 关闭 loading 遮罩 */
export const closeLoading = () => closeToast()
